package com.ascent.classes;

public class Orderitem {
    // 订单项id
    private int id;
    // 订单id
    private int ordersid;
    // 商品id
    private int productid;
    // 商品质量
    private String qyantity;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrdersid() {
        return ordersid;
    }

    public void setOrdersid(int ordersid) {
        this.ordersid = ordersid;
    }

    public int getProductid() {
        return productid;
    }

    public void setProductid(int productid) {
        this.productid = productid;
    }

    public String getQyantity() {
        return qyantity;
    }

    public void setQyantity(String qyantity) {
        this.qyantity = qyantity;
    }

    @Override
    public String toString() {
        return "Orderitem{" +
                "id=" + id +
                ", ordersid=" + ordersid +
                ", productid=" + productid +
                ", qyantity='" + qyantity + '\'' +
                '}';
    }
}
